package telecom;

import MyInterfaces.Billing;
import MyInterfaces.CustomerCare;
import MyInterfaces.Marketing;
import MyInterfaces.commonInterface;



public class Test {
	
	
	public Test()
	{
		Subscriber s = new Subscriber("Arun", 12345, 11);
		Subscriber s1= new Subscriber("Reddy", 54321, 22);
		
		System.out.println("S scount:"+Subscriber.getScount());
		System.out.println("s1 scount:"+ Subscriber.getScount());
		System.out.println("s obj :\n First name:"+ s.getFname() +"\n Zipcode"+s.getZipcode() +"\n Circle"+s.getCircle());
		System.out.println("s1 obj :\n First name:"+ s1.getFname() +"\n Zipcode"+s1.getZipcode() +"\n Circle"+s1.getCircle());
	
	
		Billing b ;
		Marketing m;
		CustomerCare c;
		commonInterface ci;
		
		Subscriber s2 = new Subscriber("Arun", 64112, 44, 143, 21, "Nokia 1243", "prepaid");
		
		b = s2;
		m = s2;
		c = s2;
		ci = s2 ;
		
		System.out.println("Phone bill is:"+b.getAmount());
		System.out.println("customer age is:"+m.getAge());
		System.out.println("Phone model is:"+c.getModel());
		ci.someFucntion();
		
		
		
			
	}

}
